﻿using System;

public  class LoginAdminBO
    {
      private string _userName;
	  private string _password;

        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }

        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }

	  LoginAdminDAL _LoginAdminDal = new LoginAdminDAL();

	  public string CheckCredentials()
		  {

		  try
			  {

			  return _LoginAdminDal.CheckCredentials(this);



			  }
		  catch (Exception ex)
			  {
			  throw ex;


			  }
		  
		  }

	  public int UnSubscribeMe()
		  {

		  try
			  {

			  return _LoginAdminDal.UnSubscribeMe(this);



			  }
		  catch (Exception ex)
			  {
			  throw ex;


			  }
		
		  }

    }

